<?php
/**
 * The loop that displays a single post.
 *
 * The loop displays the posts and the post content. See
 * http://codex.wordpress.org/The_Loop to understand it and
 * http://codex.wordpress.org/Template_Tags to understand
 * the tags used in it.
 *
 * This can be overridden in child themes with loop-single.php.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.2
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

				<div id="post-<?php the_ID(); ?> blog_page" <?php post_class(); ?>>
					
						<h1 class="entry-title"><?php the_title(); ?></h1>
	
						<div class="entry-meta">
							<?php twentyten_posted_on(); ?>
								<span class="meta-sep">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;</span>
							<?php if ( count( get_the_category() ) ) : ?>
								<span class="cat-links">
									<?php printf( __( '<span class="%1$s">Categories:</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
								</span>
						
							<?php endif; ?>
							<?php
								$tags_list = get_the_tag_list( '', ', ' );
								if ( $tags_list ):
							?>
								<span class="meta-sep">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;</span>
								<span class="tag-links">
									<?php printf( __( '<span class="%1$s">Tagged: </span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
								</span>
								
							<?php endif; ?>
						</div><!-- .entry-meta -->
	
						<div class="entry-content">
							<?php the_content(); ?>
							<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
						</div><!-- .entry-content -->
	
						<div class="entry-utility">
							<?php //twentyten_posted_in(); ?>
							<?php //edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
							<?php wp_share_this(get_permalink($post->ID))?>
						</div><!-- .entry-utility -->
					
					
					
				</div><!-- #post-## -->

				<?php comments_template( '', true ); ?>

<?php endwhile; // end of the loop. ?>
